﻿using System;
using System.Windows;

namespace TechNewsReader.Helper
{
    public static class ResHelper
    {
        public static string GetString(string key)
        {
            return Application.Current.Resources[key] as string;
        }

        public static T Get<T>(string key)
		{
            return (T)Application.Current.Resources[key];
		}
    }
}
